import { NgModule } from '@angular/core';
import { IonicModule} from "ionic-angular";

import { ListPage } from '../discover/list/list';
import { DetailPage } from '../discover/detail/detail';

@NgModule({
  declarations: [
    ListPage,
    DetailPage
  ],
  imports: [IonicModule 
  ],
  entryComponents: [
    ListPage,
    DetailPage
  ],
  providers: []
})
export class DiscoverModule {
  routes: any;
  

  constructor() {
    // If we navigated to this page, we will have an item available as a nav param
    this.routes = [
      // { component: ListPage, name: 'discoverList', segment: 'discoverList' },
      // { component: DetailPage, name: 'discoverDetail', segment: 'discoverDetail' }
    ]
  }

}
